package com.cw.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@Setter
@Getter
@ApiModel("床位异动跨区")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BedUggIeCWInfo {

    @ExcelProperty(value = "入院日期",index = 0)
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime inDate;

    private String preid;

    @ExcelProperty(value = "姓名",index = 1)
    private String name;

    @ExcelProperty(value = "性别",index = 2)
    private String sex;


    private String deptCode;

    @ExcelProperty(value = "拟入院科室",index = 3)
    @ColumnWidth(20)
    private String deptName;

    private String nurseCellCode;

    @ExcelProperty(value = "实际入院病区",index = 4)
    @ColumnWidth(20)
    private String nurseCellName;

    @ExcelProperty(value = "入院诊断",index = 5)
    @ColumnWidth(30)
    private String diagName;

    @ExcelProperty(value = "主治医师",index = 6)
    @ColumnWidth(15)
    private String chargeDocName;

    @ExcelProperty(value = "申请医生",index = 7)
    @ColumnWidth(15)
    private String createBy;

    @ExcelProperty(value = "处理结果",index = 8)
    @ColumnWidth(20)
    private String bedNo;

    @ExcelProperty(value = "患者分属",index = 9)
    @ColumnWidth(20)  //1日间手术、2院前准备、3疑似新冠0普通
    private String patientTag;

    @ExcelProperty(value = "挂号类别",index = 10)
    @ColumnWidth(20)
    private String  reglevlName ;

    @ExcelProperty(value = "集管床位状态",index = 11)
    @ColumnWidth(20)
    private  String ifGy;


    @ExcelProperty(value = "是否跨区",index = 12)
    @ColumnWidth(15)
    private  String isBedUggIeBC;


    @ExcelProperty(value = "所属院区",index = 13)
    @ColumnWidth(20)
    private  String yard;

    @ExcelProperty(value = "备注",index =14 )
    @ColumnWidth(20)
    private  String beizhu;

    private  String operdtime;

    private  String isCrossNurse;

    private  String applicationNurseCode;

    private  String applicationNurseName;

    private  String applicationBedno;

    private String eInstateDate;

    private String createTime;

    private  String remark;

    private  String idenno;

    private String jobNumber;

    @ApiModelProperty("非集管校验患者的preid")
    @TableField
    private  String extendField1;

    @ApiModelProperty("显示气泡状态 0false  1true")
    @TableField
    private  String inspectionStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private  String nucleicacid;

    @TableField(exist = false)
    private String  tipRemark;

    @TableField(exist = false)
    private String  diffDays;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime predate;

    @ApiModelProperty("本人电话")
    private  String homeTel;

    @ApiModelProperty("联系人电话")
    private  String linkmanTel;

    @ApiModelProperty("预检分级:6:急诊,其他为:门诊")
    private  String registeCode;

}
